<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />

<div class="table-scroll">


					<div class="mb10" style="overflow:hidden;">
                        <span class="pull-left">
                        	<button class="btn btn-default" onclick="comfireUser()" ><i class="fa fa-check mr5"></i>确认</button>
                        </span>
                        <span class="pull-right">
                            <button class="btn btn-orange" onclick="jumpPage('1','',true)" ><i class="fa fa-search mr5"></i>查询</button>
                            <button class="btn btn-blue" onclick="clearForm('#_query_form')"><i class="fa fa-trash-o mr5"></i>清空</button>
                        </span>
                    </div>
                    
			<table class="table-form table-bordered" id="_userTableRadio">
				<thead>
					<tr>
						<th width="5%"></th>
						<th width="8%">序号</th>
						<th>用户名</th>
						
						<th>机构</th>
					</tr>
				</thead>
				<tbody>
				    <c:if test="${empty pageBean.data}">
				     <tr>
				       <td colspan=4>无符合条件数据</td>
				     </tr>
				    </c:if>
					<c:if test="${not empty pageBean.data}">
					<c:forEach items="${pageBean.data}" var="user" varStatus="seq">
						<tr>
							<td><input type="radio" name="_userId" value="${user.userId }_${user.userName}" /> </td>
							<td>${seq.count+pageBean.first}</td>
							<td class="text-left"><a href="javascript:void(0)" title="${user.userName}" > ${user.userName}</a></td>
							
							<td class="text-left"><a href="javascript:void(0)" title="${user.unitName}" > ${user.unitName}</a></td>
							
						</tr>
					</c:forEach>
				</c:if>
				</tbody>
			</table>
		</div>
		
		<div class="pages" id="_user_list">
		  <jsp:include page="../common/pager.jsp"></jsp:include>
		</div>
		
 <script type="text/javascript">
 currentPageNo = parseInt('${pageBean.currentPage}');
 currentPageSize = parseInt('${pageBean.pageSize }');
 totalPageCount = parseInt('${pageBean.totalPage}');
 
 </script>